package com.lyluly.coursemgmt.servicemodule.model;

import java.util.Date;

public class Teacher {
    private String tId;

    private String tName;

    private String tPasswd;

    private Date createtime;

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName == null ? null : tName.trim();
    }

    public String gettPasswd() {
        return tPasswd;
    }

    public void settPasswd(String tPasswd) {
        this.tPasswd = tPasswd == null ? null : tPasswd.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tId=").append(tId);
        sb.append(", tName=").append(tName);
        sb.append(", tPasswd=").append(tPasswd);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}